from relex.model import LexDocType
from relex.parsers.generic import TextParser

class FPLexDocType(TextParser):
	def parse(form):
		name = form.get('name')
		priority = form.get('priority')
		return LexDocType(name, priority) 
